{% extends "base.html" %}

{% block content %}
<h2>Edycja danych studenta</h2>
<form action="/students/edit/{{ form.student.id }}/" method="post">
    <table>
        {{ form.as_table }}
        <tr>
            <td colspan=2><input id="submit" type="submit" value="zapisz" /></td>
        </tr>
    </table>
</form>
<!--{% if form.user.is_active %}
<a href="/students/delete/{{ form.student.id }}/">Usuń</a> |
{% else %}
<a href="/students/undelete/{{ form.student.id }}/">Przywróć</a> |
{% endif %}-->
<a href="{{ return_url }}">Wróc</a>
{% endblock %}

